package com.kkb.vo;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.kkb.pojo.Game;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * Game 扩展 VO
 *
 * @author ztranscript 2021/9/2 21:55
 **/
@Data
@EqualsAndHashCode(callSuper = true)
public class GameVO extends Game {
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date beginDate;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date endDate;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date gameDate;
    /**
     * 球队名称
     */
    private String chineseName;

    /**
     * 主队名称
     */
    private String homeName;

    /**
     * 客队名称
     */
    private String visitingName;

    /**
     * 比赛类型
     */
    private String typeName;

    /**
     * 比赛状态
     */
    private String statusName;
}
